![]() |
PATH![]() |
![]() ![]() |
OSStatus URLAbort (URLReference urlRef);
The URLAbort function terminates a data transfer that was started by URLOpen . When your application calls URLAbort , the URL Access Manager changes the state returned by URLGetCurrentState URLGetCurrentState to kURLAbortingState . If you provided an event notification routine, the URL Access Manager calls it and passes kURLAbortInitiatedEvent to it.
When the data transfer is terminated, the URL Access Manager changes the state returned by URLGetCurrentState URLGetCurrentState to kURLCompletedState . If you provided an event notification routine, the URL Access Manager calls it and passes kURLCompletedEvent to it.